<?php
/*
Template Name: Page: Site Map
*/
?>
<?php get_header(); ?>
<?php $theme_options = get_option('po_theme'); ?>
	<div id="content">
	<div id="cc">
		<div id="bread" class="mb-10">
			<div id="breadbox">
				<?php // BREADCRUMBS
					if (function_exists('yoast_breadcrumb')) {yoast_breadcrumb('<div id="breadcrumbs">','</div>');}
				?>
				<div class="clear"><!-- --></div>
			</div><!-- end breadbox -->
		</div>
		<div id="contentbox" class="w620">

		<div id="title">
			<h1 class="bline"><?php the_title(); ?></h1>
		</div><!-- end title -->

        <?php while (have_posts()) : the_post(); ?>
			<?php the_content() ?>
			<h3><?php _e('Pages', '') ?></h3>
			<ul><?php wp_list_pages('title_li=' ); ?></ul>
			<h3><?php _e('Categories', '') ?></h3>
			<ul><?php wp_list_categories('title_li=&depth=1&show_count=1'); ?></ul>
			<h3><?php _e('Archives', '') ?></h3>
			<ul><?php wp_get_archives('type=monthly&show_post_count=1'); ?></ul>
        <?php endwhile; ?>

		</div><!-- end contentbox -->

			<ul id="sidebar">
				<?php // DISPLAY CUSTOM SIDEBAR
				if ($sidebar) { if ( function_exists('dynamic_sidebar') && dynamic_sidebar($sidebar)) ;}
				else { if (function_exists('dynamic_sidebar') && dynamic_sidebar('Default Sidebar')) ;}
				?>
			</ul><!-- end sidebar -->

<?php get_footer(); ?>